FernleafSystems\Wordpress\Plugin\Shield\Modules\IPs\Lib\IpRules\IpRuleStatus A

Total Complexity 72
Dependencies 10
Dependents 27
Total lines 297
Lines of code 206
Logical lines of code 105
Comment lines 34
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
getRulesForAutoBlock()
A
48 9 35
purgeDuplicateRulesForWhiteAndBlack()
A
51 9 27
loadRecordsForIP()
A
50 8 28
isUnBlocked()
S
58 6 16
getRules()
S
57 4 17
hasCrowdsecBlock()
S
64 3 10
removeRecordFromCache()
S
68 3 7
isBlockedByShield()
S
78 3 3
hasAutoBlock()
S
74 3 4
isBlockedByCrowdsec()
S
79 2 3
getOffenses()
S
75 2 4
getBlockType()
S
78 2 3
hasHighReputation()
S
72 2 6
getRuleForAutoBlock()
S
75 2 4
isBlocked()
S
79 2 3
getRulesForShieldBlock()
S
79 1 3
getIP()
S
82 1 3
ClearStatusForIP()
S
79 1 3
getRulesForCrowdsec()
S
80 1 3
getRulesForBypass()
S
79 1 3
getRulesForBlock()
S
78 1 3
isAutoBlacklisted()
S
80 1 3
hasRules()
S
80 1 3
hasManualBlock()
S
80 1 3
getRulesForManualBlock()
S
79 1 3
isBypass()
S
80 1 3
__construct()
S
81 1 3